'use strict'

define(['jquery', 'bootstrap', 'select2', 'shiftform', 'validate', 'validate.en', 'datetimepicker', 'datetimepickerCN'], function($) {
  
  return {
        
    init: function() {
        this.initPage();
    },
    
    initPage: function(){
     $(document).ready(function(){
    	 
     	$('form[data-validate="true"]').bt_validate();  
     	
        $('select[name="inputTags"]').select2({
          placeholder : '请选择产品标签',
          minimumResultsForSearch : 5,
          allowClear : true,
        });
      });
    },
    
    
   }
})
